package com.example.administrator.hqq.bean.post;

import java.util.List;

/**
 * @name: HQQ
 * @describe:
 * @author: 康海涛 QQ2541849981
 * @time: 2018/11/25 17:25
 * @remark:
 */
public class PostDetailsCommentBean {

    /**
     * code : 200
     * description : ok
     * data : {"reply":[{"user_portrait_url":"http://phvao75wg.bkt.clouddn.com/user/portrait/111-1.180.70","user_nickname":"111","text":"12222","id":"1e8f123210fc64eeb275a45e60f013f3","like_amount":0,"like_state":0,"time":1543199406000,"discussion":[]},{"user_portrait_url":"http://phvao75wg.bkt.clouddn.com/user/portrait/111-1.180.70","user_nickname":"111","text":"12222","id":"1e8f0b3f8c767498b467a45e60f013f3","like_amount":0,"like_state":0,"time":1543151638000,"discussion":[]}]}
     */

    private int code;
    private String description;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<ReplyBean> reply;

        public List<ReplyBean> getReply() {
            return reply;
        }

        public void setReply(List<ReplyBean> reply) {
            this.reply = reply;
        }

        public static class ReplyBean {
            /**
             * user_portrait_url : http://phvao75wg.bkt.clouddn.com/user/portrait/111-1.180.70
             * user_nickname : 111
             * text : 12222
             * id : 1e8f123210fc64eeb275a45e60f013f3
             * like_amount : 0
             * like_state : 0
             * time : 1543199406000
             * discussion : []
             */
            private String user_portrait_url;
            private String user_nickname;
            private String text;
            private String id;
            private int like_amount;
            private int like_state;
            private long time;
            private List<Discussion> discussion;

            public String getUser_portrait_url() {
                return user_portrait_url;
            }

            public void setUser_portrait_url(String user_portrait_url) {
                this.user_portrait_url = user_portrait_url;
            }

            public String getUser_nickname() {
                return user_nickname;
            }

            public void setUser_nickname(String user_nickname) {
                this.user_nickname = user_nickname;
            }

            public String getText() {
                return text;
            }

            public void setText(String text) {
                this.text = text;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public int getLike_amount() {
                return like_amount;
            }

            public void setLike_amount(int like_amount) {
                this.like_amount = like_amount;
            }

            public int getLike_state() {
                return like_state;
            }

            public void setLike_state(int like_state) {
                this.like_state = like_state;
            }

            public long getTime() {
                return time;
            }

            public void setTime(long time) {
                this.time = time;
            }

            public List<Discussion> getDiscussion() {
                return discussion;
            }

            public void setDiscussion(List<Discussion> discussion) {
                this.discussion = discussion;
            }
            public static class Discussion
            {
                private String user_nickname;
                private String id;
                private String text;

                public String getUser_nickname() {
                    return user_nickname;
                }

                public String getId() {
                    return id;
                }

                public String getText() {
                    return text;
                }

                public void setUser_nickname(String user_nickname) {
                    this.user_nickname = user_nickname;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public void setText(String text) {
                    this.text = text;
                }
            }
        }
    }
}
